package com.ymatou.iapi.messageroute.service;

import com.ymt.base.YmatouBaseCall;
/**
*消息路由发消息接口Call
*FreeMaker Template自动生成代码
*/
public class SendTradingMsgCallNet extends YmatouBaseCall {
	private static String opurl = "api/trading/notifytradingevent";

	public SendTradingMsgCallNet() {
		super("http://api.messageroute.ymatou.com/", opurl, "POST", "JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept",
				"text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
}